package com.cn.study002;

import java.util.Scanner;

public class ShoppingSettle {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		System.out.println("请输入消费金额：");
		double sum=sc.nextDouble();
		double cg=sum*0.8;
		System.out.println("实际消费金额："+cg);

	}

}
